<div class="dux-index-layout ">

    <div class="">
        <div class="dux-index-show ">
            <div class="uk-flex">
                <div class="show-avatar">
                    <img src="{$userInfo.avatar}" alt="" width="100" height="100">
                </div>
                <div class="uk-flex-1">
                    <div class="show-head">
                        欢迎您回来, <span class="uk-text-danger">{$userInfo.show_name}</span>
                    </div>
                    <dl>
                        <dt>电话</dt>
                        <dd>{$userInfo.tel ? $userInfo.tel : '未绑定'}</dd>
                    </dl>
                    <dl>
                        <dt>邮箱</dt>
                        <!--if{$userInfo.email}-->
                        <dd>{$userInfo.email ? $userInfo.email : '未绑定'}</dd>
                        <!--{else}-->
                        <dd><a href="{url('member/setting/index')}">未设置</a></dd>
                        <!--{/if}-->
                    </dl>
                    <dl>
                        <dt>登录时间</dt>
                        <dd>{date('Y-m-d H:i:s', $userInfo.login_time)}</dd>
                    </dl>
                    <dl>
                        <dt>登录IP</dt>
                        <dd>{$userInfo.login_ip ? $userInfo.login_ip : '未知'}</dd>
                    </dl>
                </div>
            </div>

        </div>
        <div class="dux-index-count">
            <ul class=" uk-grid ">
                <li class="uk-width-1-3">
                    <div class="item item1">
                        <div class="icon">
                            <i class="fa fa-money"></i>
                        </div>
                        <div class="info">
                            <div class="count">￥{$userInfo.money}</div>
                            <div class="name">账户余额</div>
                        </div>
                    </div>
                </li>
                <li class="uk-width-1-3">
                    <div class="item item2">
                        <div class="icon">
                            <i class="fa fa-database"></i>
                        </div>
                        <div class="info">
                            <div class="count">{$userInfo.money}</div>
                            <div class="name">账户积分</div>
                        </div>
                    </div>
                </li>
                <li class="uk-width-1-3">
                    <div class="item item3">
                        <div class="icon">
                            <i class="fa fa-comment"></i>
                        </div>
                        <div class="info">
                            <div class="count">0</div>
                            <div class="name">未读消息</div>
                        </div>
                    </div>
                </li>
            </ul>
        </div>

        {$bodyHookHtml}

    </div>
</div>